-
Home
-
Leat
-
1.8.0
-
Code
-
Classes
- ReferralShortcode
Total Complexity |
33 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
248 |
Lines of code |
153 |
Logical lines of code |
62 |
Comment lines |
57 |
Methods |
10 |
Properties |
2 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
enqueue_inline_scripts() |
A |
42 |
8 |
56 |
enqueue_referral_assets() |
S |
50 |
6 |
27 |
shortcode_output() |
S |
53 |
5 |
23 |
get_user_referral_stats() |
S |
60 |
4 |
13 |
maybe_enqueue_assets() |
S |
65 |
3 |
10 |
get_user_referral_code() |
S |
68 |
3 |
7 |
__construct() |
S |
76 |
1 |
4 |
init_hooks() |
S |
79 |
1 |
3 |
get_assets() |
S |
82 |
1 |
3 |
get_shortcode_type_attributes() |
S |
69 |
1 |
7 |